AddPackageReferenceResult Constructor

Create an AddPackageReferenceResult.

Parent Type: AddPackageReferenceResult

Namespace: Microsoft.LearningComponents.Storage

Assembly: Microsoft.LearningComponents.Storage.dll

Syntax
C#

public AddPackageReferenceResult (
PackageItemIdentifier packageId,
ValidationResults log

)

Parameters

packageId

The packageId of the added reference. This value is not validated to ensure that it represents a package in LearningStore.

log

The log of requested errors and warnings that occurred during the course of adding the package reference. This may not be null.

Exceptions
Exception type Condition
ArgumentNullException

Thrown if packageId or log are not provided.